# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=chelf
pkgver=0.2.2
pkgrel=1
pkgdesc="Display or change the stack size of an ELF binary"
url="https://github.com/Gottox/chelf"
arch="all"
options="!check"  # No test suite.
license="BSD-2-Clause"
source="$pkgname-$pkgver.tar.xz::https://distfiles.adelielinux.org/source/chelf-$pkgver.txz"

build() {
	make
}

package() {
	install -D -m755 chelf "$pkgdir"/usr/bin/chelf
}

sha512sums="bf29f0f526ca1977e0d0743901f6afeb23b2dd78b60618ea65201ea95000832854250f44de6e7625b6d546cace4638be094989cdb96b4e842285ef85718c0082  chelf-0.2.2.tar.xz"
